package vno.fux.character
{
	import vno.fux.BasePoint;

	public class Npc implements ICharacrer
	{
		private var _NpcView:NpcView;
		private var _NpcModel:NpcModel;
		private var _NpcController:NpcController;
		public function Npc(id_:uint, resId_:uint, pos_:BasePoint)
		{
			_NpcModel = new NpcModel({id:id_,resId:resId_,pos:pos_});
			_NpcController = new NpcController(_NpcModel);
			_NpcView = new NpcView(_NpcModel, _NpcController);
		}

		public function get view():BaseCharacterView
		{
			return _NpcView;
		}
		
		public function get controller():BaseCharacterController
		{
			return _NpcController;
		}
	}
}